//@tpl
function main(tbl){
	var cols=dao.comment("device_record");
	var cols1=dao.tables("v_device")
    attr("cols",cols)
	return dao.fetch("device_record",Cnd.where("id","=",tbl.id));
}